AT+CPWD allows to define a new password for a password protected
<facility> lock function. Each password is a string of digits, the length of which varies with the associated
<facility>. The test command returns a list of pairs which represent the available facilities and the maximum length of the associated password. See AT commands
AT+CLCK and
AT^SLCK for more information on the various lock features.
Specifically the command can be used to
Phone locked to SIM card. ME requests password when other than current SIM card is inserted.
"PS" lock is frequently referred to as "phone lock", or "device lock". Accordingly, the password may be called "phone code" or "device code". The "PS" password is not associated with the PUK of the SIM card. It must be defined before the first use of
<facility> "PS" with
AT+CLCK.
<password length>: 4 digits.
If incorrectly entered three times, the Master Phone Code is required to lift the lock. This Unblocking procedure is performed with
AT+CPWD using the following parameters:
<facility>="PS",
<old password>= Master Phone Code (to be obtained from the module manufacturer), and
<new password>= the new phone code ("PS" password for lock facility), if desired.
Mind that successful PIN authentication is a prerequisite for use of AT command
AT+CPWD. If Pin authentication has not been completed, input of the Master Phone code password is possible only with AT command
AT+CPIN or
ATD. For further detail please refer to Section
5.1.1, What to do if PIN or password authentication fails?.
Once the Master Phone Code has been acctepted, the mobile is operational, and the "PS" lock is no longer active. If needed it must be set once again with
AT+CLCK.
Typical examples of factory set SIM locks are prepaid phones or network locks, used to restrict the operation of a mobile to a specific provider or operator. The client should be aware that each of these lock types can only be unlocked if the associated password is available. For example, a mobile can be locked to accept only SIM cards from the respective provider, or even one single SIM card. Once a different SIM card is inserted the ME will prompt the client to enter a specific code. This is not the PUK of the SIM card, but usually an 8-digit code which needs to be requested from the provider.
The locks can only be set by the manufacturer and need to be agreed upon between the parties concerned, e.g. provider, operator, distributor etc. on the one side and the manufacturer on the other side. For details contact your local dealer or Siemens AG.
Password specified for the facility. Parameter
<old password> can be ignored if no old password was allocated to the facility.
Take into account that a password may have already been set by factory, or that the service is subject to a password issued by the provider. See notes above or contact provider.
|
EXAMPLE 2
|
To set password used to enable or disable barring of all outgoing calls:
|
|
EXAMPLE 3
|
Handling of the "PS" lock password
|
|
EXAMPLE 4
|
To specify a new "PS" lock password, after the old password was disabled (e.g. after three failed attempts to change the "PS" password): use the master phone code. CAUTION: THIS TEST SHOULD BE PERFORMED ONLY IF THE CORRECT MASTER PHONE CODE FOR THE INDIVIDUAL ME USED IS DEFINITELY AVAILABLE! Otherwise the module used will be rendered useless until the correct master phone code is entered!:
|